#include<stdio.h>
int main(void){
    char c;
    scanf("%c",&c);
    if(c>='0'&&c<='9'){
        printf("%c",c);
    }
    else{
        printf("%d",c);
    }
    return 0;
}